package com.yy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 地址实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "地址实体类")
public class AddressBook implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "收获人")
    private String consignee;
    @ApiModelProperty(value = "性别")
    private Integer sex ;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "楼栋")
    private String building;
    @ApiModelProperty(value = "门牌号")
    private String doorplate;
    @ApiModelProperty(value = "是否为默认地址:1是 0不是")
    private Integer isDefault;



}
